import "./header.css";
import "../../../../assets/icons/iconfont.css";

const changeEl = document.querySelector(".header");
const scrollDetail = document.querySelector("#detail-layout");

import { Header } from "../../../../components/header/index";

new Header(changeEl, 0, scrollDetail);

const backHome = document.querySelector("#goHome");

backHome.addEventListener(
  "click",
  () => {
    window.location.href = "./index.html";
  },
  false
);
